From 0960c8402c70eaeeafdc750f54b7fc4ed12d1d6c Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Wed, 16 Jul 2008 13:21:58 -0500 Subject: [PATCH] Applied patch from ubuntu so this commits Also reported upstream at https://sourceforge.net/tracker/?func=detail&atid=489478&aid=2019800&group_id=58972 --- lmx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lmx.c b/lmx.c index 5082a0cc0..15625f2ab 100644 --- a/lmx.c +++ b/lmx.c @@ -31,7 +31,7 @@ static gbfile *ofd; static waypoint *wpt_tmp; -char *link, *linkt; +char *linkNEW, *linkt; #define MYNAME "lmx" @@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused) static void lmx_lm_mlink_s(const char *args, const char **unused) { - link = linkt = NULL; + linkNEW = linkt = NULL; } static void lmx_lm_link(const char *args, const char **unused) { - link = xstrdup(args); + linkNEW = xstrdup(args); } static void lmx_lm_linkt(const char *args, const char **unused) { - linkt = xstrdup(args); + linkNEW = xstrdup(args); } static void lmx_lm_mlink_e(const char *args, const char **unused) { - waypt_add_url(wpt_tmp, link, linkt); + waypt_add_url(wpt_tmp, linkNEW, linkt); } -- 2.30.2